public class Main {
    public static int digit(int a,int b){
        int sum = 0;
        for (int c = a; c < b; c++) {
            while (c / 10 != 0 || c % 10 != 0) {
                sum += c % 10;
                c = c / 10;
            }
        }
    }return sum;
}
